From: Timm Bäder Date: Sat, 19 Oct 2019 09:04:03 +0000 (+0200) Subject: text: Fix context menu position X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1~1^2~321^2^2~683 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=31ae93475de83994fcfbd6c7f7f508c5bdce3365;p=gtk4.git text: Fix context menu position Fixes #2209 --- diff --git a/gtk/gtktext.c b/gtk/gtktext.c index c6df814b13..726ea180e0 100644 --- a/gtk/gtktext.c +++ b/gtk/gtktext.c @@ -2528,7 +2528,7 @@ gtk_text_click_gesture_pressed (GtkGestureClick *gesture, if (gdk_event_triggers_context_menu (event)) { - gtk_text_do_popup (self, x, y); + gtk_text_do_popup (self, widget_x, widget_y); } else if (n_press == 1 && button == GDK_BUTTON_MIDDLE && get_middle_click_paste (self))